home *** CD-ROM | disk | FTP | other *** search
/ Pro Intralink 3.1 / Pro Intralink v3.1.iso / dsrc / templates / unix / u_3dpaint_start.tpl next >
Encoding:
Text File  |  2001-11-27  |  1.5 KB  |  72 lines

  1. // 07-May-98 $$1  TWH   Created
  2. // 26-Aug-98 $$2  TWH   rm shlib, add $* to cmdline, rm graphics type chk; per dottley
  3. // 18-Feb-99      JJE   Add DES_LIB
  4. // 02-Mar-99      JJE   Add appmgr
  5. // 05-Mar-99 $$3  JJE   Add pro_comm_msg, nmsd
  6. // 13-Jan-00 $$4  OTT   Added LD_LIBRARYN32_PATH
  7. // 23-Jan-01 $$5  TWH   Sun4_solaris_64 changes
  8. // 19-Mar-01 $$6  ALG   Include ptc_startup.inc
  9. #include:head.inc
  10. #include:sun4_tmpdir.inc
  11.  
  12. # ptc-cmdtype: 3dpaint
  13.  
  14. if ($mc == alpha_unix) then
  15.     limit datasize unlimited
  16.     limit stacksize unlimited
  17. endif
  18.  
  19. #
  20. # set PAINT_HOME and PAINT_DATA
  21. #
  22. setenv PAINT_HOME $prodir
  23. setenv PAINT_DATA $prodir/tutorial
  24.  
  25. #
  26. # Location of cdrs libraries
  27. #
  28. #includeenv:DES_LIB:cdrs_library.env
  29.  
  30. #
  31. # Set path to find executables
  32. #
  33. set path = ($PAINT_HOME/bin $path)
  34.  
  35. #
  36. # Set LD_LIBRARY_PATH
  37. #
  38. if ($?LD_LIBRARY_PATH) then
  39.         setenv LD_LIBRARY_PATH $PAINT_HOME/libraries/$mc/lib_shared:$LD_LIBRARY_PATH
  40. else
  41.         setenv LD_LIBRARY_PATH $PAINT_HOME/libraries/$mc/lib_shared
  42. endif
  43.  
  44. if ($?LD_LIBRARYN32_PATH) then
  45.   setenv LD_LIBRARYN32_PATH $PAINT_HOME/libraries/$mc/lib_shared:${LD_LIBRARYN32_PATH}
  46. else
  47.   setenv LD_LIBRARYN32_PATH $PAINT_HOME/libraries/$mc/lib_shared
  48. endif
  49.  
  50. #
  51. # Start 3DPaint process
  52. #
  53. #includeenv:PTCNMSPORT:ptcnmsport.env
  54. setenv PRO_COMM_MSG_EXE $prodir/$mc/obj/pro_comm_msg
  55. #includeenv:PTC_APPMGR:appmgr.env
  56. #includeenv:LM_LICENSE_FILE:lmlic.env
  57. setenv PAINT_FEATURE_NAME "__3DPAINT_FEATURE_NAME__"
  58.  
  59. #include:ptc_startup.inc
  60.  
  61. #
  62. # disable autorepeat on keys
  63. #
  64. #xset r off
  65.  
  66. $prodir/$mc/obj/3dpaint_bin $*
  67.  
  68. #xset r on
  69. #end
  70.  
  71.  
  72.